import axios from '@/util/request.js'


export function getlist(data){
    return axios.post("patient/select",data);
}

export function dele(id){
    return axios.post("patient/delete",id);
}

export function update(data){
    return axios.post("patient/update",data);
}

export function search(data){
    return axios.post("patient/search",data);
}

export function change(data){
    return axios.post("patient/change",data,axios.textConfig);
}

export function resetpwd(data){
    return axios.post("patient/resetpwd",data , axios.textConfig);
}
